<template>
    <div>
        <ul>
            <slot name="book" v-for="book of books" :bookName='book.name'></slot>
        </ul>
    </div>
</template>

<script>
export default {
    props:{
        books:{
            type: Array,
            default(){
                return []
            }
        }
    }
};
</script>

<style scoped lang="less">

</style>
